package day08;

import java.io.Serializable;

public class Person implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6668827457093307577L;
	/**
	 * 
	 */
//	private static final long serialVersionUID = 1L;
	
	private String name;
	private int age;
	transient String gender;
	transient Person firend;
	public Person(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}
	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + 
				", gender=" + gender + ", firend=" + firend + "]";
	}
	public Person(String name, int age, String gender) {
		super();
		this.name = name;
		this.age = age;
		this.gender = gender;
	}
	
	
	
	
	
}
